package com.tff.gmall.user.mapper;

import com.tff.gmall.beans.UmsMember;
import org.springframework.stereotype.Repository;

@Repository
public interface UmsMemberMapper {

    /***
     * 根据用户的id的查询用户
     * @param id
     * @return
     */
    UmsMember getUmsMemberById(Integer id);

    /***
     * 用户登录验证
     * @param umsMember
     * @return
     */
    UmsMember loginCheckMapper(UmsMember umsMember);
}
